<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@include file="/include.jsp"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<link href="${ctx}/css/style.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/css/table.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/dwz/themes/default/style.css" rel="stylesheet" type="text/css" media="screen" />
<link href="${ctx}/dwz/themes/css/core.css" rel="stylesheet" type="text/css" media="screen" />
<table border="0" cellpadding="0" cellspacing="0" class="table_border">
    <tr>
    	<td>
    		<table>
    			<thead>
    				<tr></tr>
    			</thead>
    		</table>
    	</td>
        <td>
            <table width="100%" border="0" cellpadding="0" cellspacing="0"
                   class="table_padding">
                <tr>
                    <td>
                        <table align="left">
                            <tr>
                               <!--  <td width="75px"><a class="button" href="detail.jsp"><span>员工详情</span></a>
                                </td> -->
                                <td width="50px"><a class="button" href="add.jsp"><span>新增</span></a>
                                </td>
                                <td width="50px"><a class="button"
                                                    href="javascript:void(0);"><span>删除</span></a></td>
                                <td width="50px"><a class="button" href="edit.jsp"><span>修改</span></a>
                                </td>
                                <td width="50px"><input type="text" placeholder="按名字搜索">
                                </td>
                                <td width="50px"><a class="button" href="list.jsp"><span>查询</span></a>
                                </td>
                                <td width="50px"><input type="text" placeholder="按部门搜索">
                                </td>
                                <td width="50px"><a class="button" href="list.jsp"><span>查询</span></a>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td width="25" height="26" align="right"></td>
                </tr>
            </table>
        </td>
    </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border: 1px">
    <tr>
        <td align="center">
            <table border="1" cellpadding="0" cellspacing="0" id="box_num_table2"
                   class="box_num_table">
                <thead>
                <tr bgcolor="white">
                    <td><input type="checkbox"  onclick="checkAll(this)"/></td>
                    <td>序号</td>
                    <td>姓名</td>
                    <td>年龄</td>
                    <td>性别</td>
                    <td style="width: 200px">身份证号</td>
                    <td>部门</td>
                    <td>职务</td>
                </tr>
                </thead>
                <tbody>
                 <tr  bgcolor="white">
                    <td><input class="aaa" type="checkbox" /></td>
                    <td>1</td>
                    <td>张三</td>
                    <td>34</td>
                    <td>
                    	<c:if test="user.sex==1">checked</c:if>男  
					<%-- 	<c:if test="user.sex==0"></c:if>女 --%>
                    </td>
                    <td>130182193912344324</td>
                    <td>后勤部</td>
                    <td>后勤部长</td>
                    
                </tr>
              <!--  <tr  bgcolor="white">
                    <td><input class="aaa" type="checkbox" /></td>
                    <td>2</td>
                    <td>讲师部</td>
                    <td>&nbsp;</td>
                </tr> -->
                </tbody>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <table border="0" cellpadding="0" cellspacing="0"
                   class="table_border">
                <tr>
                    <td>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0"
                               class="table_padding">
                            <tr>
                                <td width="8%" class="font_left">数据:120条</td>
                                <td width="12" class="font_left">第</td>
                                <td width="375" class="font_left">
                                    <input name="textfield2" type="text" size="2" maxlength="4" /> /5页
                                </td>
                                <td width="478" class="font_right">
                                    <a href="">首页</a>
                                    <a href="">上一页</a>
                                    <a href="">下一页</a>
                                    <a href="">末页</a>
                                    <a href="">刷新</a>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>

        </td>
    </tr>
</table>
<script type="text/javascript">


	/* var l=$("#box_num_table2 :checkbox:not(:first)");
   var ll=$("input[type='checkbox'][checked=true]:not(:first)");
	l.click(function(){
   alert(l.length)
   alert(ll.length)
	l.each(function(){
		if(!this.checked){
			$("#box_num_table2 input[type='checkbox']:first").prop('checked',false);
			return;
		}
		if(l.length==ll.length){
		$("#box_num_table2 input[type='checkbox']:first").prop('checked', true);
		}
		})
})

function checkAll(obj){
    $("#box_num_table2 input[type='checkbox']").prop('checked', $(obj).prop('checked'));
} */

/* $("#box_num_table2 :checkbox:not(:first)").click(function(){
	
	$("#box_num_table2 input[type='checkbox']:first").prop('checked',false);
}) */



</script>
